概率分布 & R语言

R语言 Binomial distribution

• dbinom(): probability function; • pbinom(): cumulative distribution function; • qbinom(): the quantile function; • rbinom(): the function to generate random variables.

Gaussian Distribution 高斯分布

R语言 代码实现

转换为Standard Normal Distribution 并查表

公式: 例子:

Possion Distribution

复习

R语言 代码实现

作Normal Distribution图

备注:语法可参考Gaussian Distribution图 右边部分的Help